package com.hua.service;

import com.hua.common.Response;
import com.hua.domain.Category;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hua.domain.CommodityInfo;
import com.hua.domain.domainVo.CategoryVo;
import com.hua.domain.domainVo.CommodityPriceVo;

import java.util.List;

/**
* @author cl
* @description 针对表【category(商品种类表)】的数据库操作Service
* @createDate 2022-10-19 11:10:27
*/
public interface CategoryService extends IService<Category> {
    /**
     * @Description: 获取商品种类列表
     * @Param: 无
     * @return: List<Category>
     * @Author: 黄燕峰
     */

    Response<List<Category>> getCategory();


    Response<String> addCategory(CategoryVo categoryVo);

    Response<String> deleteCategoryById(Integer categoryId);

    int updateCurrentOfUserFace(String url, String newName, CategoryVo categoryVo);

    Response<List<CommodityPriceVo>> getKind(String kind);



}
